package com.wocai.jrt.orgadmin.stats.service.spi;

import java.util.List;
import java.util.Map;

import com.wocai.jrt.orgadmin.appointment.model.Appointment;
import com.wocai.jrt.orgadmin.investor.model.Investor;
import com.wocai.jrt.orgadmin.orders.model.Orders;
import com.wocai.jrt.orgadmin.stats.bean.PerFormReqBean;


public interface PerformanceStatsService {

	Map<String, Object> performanceStatsFromDB(PerFormReqBean model);

	void performanceStatsSaveRedis(String formatString,String orgId,List<Orders> ordersList,List<Investor> invesList,List<Appointment> appointmentList);
	
	public Map<String, Object> getDemandCache(PerFormReqBean model);
	
	public void preformanceStatsCount();
	
	public void updateCurPerformanceStatsRedis();
}
